<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/footprint/footprint" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
  <div class="page">
    <div class="page-hd">
      <h1>足迹管理</h1>
    </div>
    <div class="datas">
      <div class="filterbar">
        <form id="search" action="{:URL('admin/Footprint/footprint')}" method="get">
          <label for="type">{$Think.lang.status}</label>
          <select name="type" id="type">
            <option value=" "  selected >所有       </option>
            <option value="1" <eq name="type" value="1">selected</eq>>播报     </option>                                                        
            <option value="2" <eq name="type" value="2">selected</eq>>评论    </option>                                                                                                          
            <option value="3" <eq name="type" value="3">selected</eq>>喜欢      </option>                                                                                                          
            <option value="4" <eq name="type" value="4">selected</eq>>不喜欢  </option>                                                                                                          
            <option value="5" <eq name="type" value="5">selected</eq>>浏览       </option>
            <option value="6" <eq name="type" value="6">selected</eq>>加入圈子</option>
            <option value="7" <eq name="type" value="7">selected</eq>>退出圈子</option>
          </select>
          <php>if(empty($_GET['userid'])){</php> 
           <label for="">用户名</label>
           <input type="text" name="username" id="username" value="{$username}" class="input-text">
          <php>}</php>
          <label for="">内容</label>
          <input type="text" name="title" id="title" value="{$title}" class="input-text">
          <button type="button" class="btn-search" id="J_search" title="{$Think.lang.search}">
            <i class="icon-search"></i>
          </button>
          <php>if(empty($_GET['userid'])){</php>  <a href="javascript:;" class="more" id="J_more">更多查找</a><php>}</php>
          <div class="more-constraints" style="display: none;">
            <label for="">用户id</label>
            <input type="number" name="userid" id="userid" value="{$userid}" class="input-text">
            <label for="">{$Think.lang.email}</label>
            <input type="email" name="email" id="email" value="{$email}" class="input-text">
          </div>
        </form>
      </div>

      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="">用户id</th>
              <th style="">用户名</th>
              <th style="">邮箱</th>
              <th style="">内容</th>
              <th style="">类型</th>
              <th style="">时间</th>
            </tr>
          </thead>
          <tbody>
            <volist name="data" id="vo">
              <tr data-id="{$vo['uid']}">
                <td>{$vo['uid']}</td>
                <td>{$vo['username']}</td>
                <td>{$vo['email']}</td>
                <td>{$vo['title']}</td>
                <td>
                 <eq name="vo['type']" value="0"> 注册</eq>
                 <eq name="vo['type']" value="1">播报   </eq>
                 <eq name="vo['type']" value="2">评论   </eq>
                 <eq name="vo['type']" value="3">喜欢   </eq>
                 <eq name="vo['type']" value="4">不喜欢  </eq>
                 <eq name="vo['type']" value="5">浏览   </eq>
                 <eq name="vo['type']" value="6">加入圈子<</eq>
                 <eq name="vo['type']" value="7">退出圈子<</eq>
                </td>
                <td>{$vo['datetime']}</td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
      <div class="datas-ft">
         <div class="actions">
         <php>if(!empty($_GET['userid'])){</php> <a href="<php>echo session('backurl');</php>" class="btn">返回</a><php>}</php>
        </div>
        <div class="pager">{$page}</div>
      </div>
    </div>

  </div>
  </div>
</body>

</html>
